Nodes > Control Flow > For

Executes the Body execution port loopCount times, increasing Number each time. Number returns 0 on the first iteration, and increases by 1 on each iteration until it reaches loopCount-1 on the final loop. After all loops are completed, the Then port is executed.
Inputs
| Name | Type | Description |
|---|---|---|
| loopCount | int | Number of loops to perform |
Outputs
| Name | Type | Description |
|---|---|---|
| Body | Execution | Executes during each loop |
| Number | Number | Index (starting at 0) of the current loop |
| Then | Execution | Executes after all loops are done |
Was this page helpful?